package com.example.demo.controller;



import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 用户关注表
 *
 * @author zlt
 * @date 2021-07-14 16:14:42
 */
@Slf4j
@RestController
@RequestMapping("/user")
public class UserController {

    @GetMapping("/{id}")
    public String findUserById(@PathVariable Long id) {
        return "hello"+ id;
    }

}
